package com.woniuxy.java102vuecli.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @Author author
 * @Create 2023-09-14 11:00
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Department {
    @NotNull(message = "department.did--NotNull")
    private Integer did;
    private String dname;
}
